<%@ page contentType="text/html; charset=gbk" pageEncoding="utf-8" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>联系人修改</title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="../style/style.css" />

<%@ taglib prefix="s" uri="/struts-tags"%>

<script type="text/javascript">
	function addNewContact()
	{
		contactInfoForm.submit();
	}
</script>

</head>
<body>
<table width="700" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td>
      <table width="100%" cellpadding="0" cellspacing="0" class="table2">
        <tr>
          <td valign="top">
        <div class="mainarea">
            <div class="search" style="padding:10px">
              <s:form name="contactInfoForm" id="contactInfoForm" action="contact!updateContact" method="post" theme="simple">
              
              <s:hidden name="contact.contactId" id="contactId"></s:hidden>
              
              <table cellpadding="0" cellspacing="0" width="100%" class="table4">
                  <tr>
                    <th height="25" colspan="4" bgcolor="#BBD2F7" class="title">联系人基本信息</th>
                  </tr>
                  <tr>
                    <td width="87" align="right"> 客户&nbsp;&nbsp;编号： </td>
                    <td width="171"><s:textfield id="clientId" name="contact.client.clientId"></s:textfield>*</td>
                    <td align="right">身&nbsp;&nbsp;份&nbsp;&nbsp;证：</td>
                    <td>
                    		<s:textfield id="contactIdcard" name="contact.contactIdcard"></s:textfield>* 
                    </td>
                  </tr>
                  <tbody id="tbody_2" >
                    <tr>
                      <td align="right"> 联系人名称： </td>
                      <td><s:textfield name="contact.contactName"></s:textfield>* </td>
                      <td align="right">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
                      <td>
                        <s:select name="contact.contactSex" list="{'男','女'}"></s:select>
					  </td>
                    </tr>
                    <tr>
                      <td align="right">联系人生日：</td>
                      <td>
                          <s:textfield id="contactBornDate" name="contact.contactBornDate">
                          	<s:param name="value"><s:date name="contact.contactBornDate" format="yyyy-MM-dd"/></s:param>
                          </s:textfield>
                      </td>
	                  <td align="right">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编：</td>
	                  <td>
	                   		<s:textfield id="contactPostCode" name="contact.contactPostCode"></s:textfield>
	                  </td>
                    </tr>
                    <tr>
                      <td align="right"> 联系人手机： </td>
                      <td>
                      		<s:textfield id="contactPhone" name="contact.contactPhone"></s:textfield>* 
                      </td>
                      <td align="right">联系人地址：</td>
                      <td>
                      		<s:textfield id="contactAddress" name="contact.contactAddress"></s:textfield>
                      </td>
                    </tr>
                  </tbody>
                  <tr>
                    <td align="right">联系人电话：</td>
                    <td>
                      		<s:textfield id="contacttele" name="contact.contacttele"></s:textfield>* 
                    </td>
                    <td align="right">联系人邮箱：</td>
                    <td>
                      		<s:textfield id="contactemail" name="contact.contactemail"></s:textfield>
                    </td>
                  </tr>
                  <tr>
                    <td align="right">传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真：</td>
                    <td>
                      		<s:textfield id="contactfax" name="contact.contactfax"></s:textfield>
                    </td>
                    <td align="right"></td>
                    <td>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="4">&nbsp;</td>
                  </tr>
                </table>
              </s:form>
            </div>

                    <table width="100%" cellpadding="0" cellspacing="0"class="table3">
                        <tr>
                            <td width="8%" class="title">&nbsp;</td>
                          <td width="7%" ></td>
                          <td width="7%" >&nbsp;</td>
                          <td width="7%" >&nbsp;</td>
                          <td width="7%" >&nbsp;</td>
                          <td width="7%" >&nbsp;</td>
                          <td width="18%" >&nbsp;</td>
                          <td width="9%" ><span class="clientinfo_but">保&nbsp;存</span></td>
                          <td width="7%" ><span class="clientinfo_but">取&nbsp;消</span></td>
                          
                          <td width="7%" ></td>  
                          <td width="16%" >&nbsp;</td>
                      </tr>
                    </table>

            </div></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
